package top.continew.admin.req;

import cn.hutool.core.lang.RegexPool;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.Data;
import top.continew.admin.system.util.ValidateGroup;

import java.math.BigDecimal;

/**
 * @program: examstar-manger-api
 * @description: 创建市场分销链用户的接口
 * @author: Xiong weiqiang
 * @create: 2025-03-27 11:39
 */
@Data
public class DistributeSaleProxyManagerUserCreateRto {
    private String phone;
    @NotNull(message = "用户不能为空",groups = {ValidateGroup.ReqGroup.SAVE.class, ValidateGroup.ReqGroup.UPDATE.class})
    private Long userId;

    @NotBlank(message = "全称不能为空",groups = {ValidateGroup.ReqGroup.SAVE.class, ValidateGroup.ReqGroup.UPDATE.class})
    private String fullName;

    @NotNull(message = "添加的角色不能为空",groups = {ValidateGroup.ReqGroup.SAVE.class, ValidateGroup.ReqGroup.UPDATE.class})
    private String distributeRoleCode;
    @NotNull(message = "上级不能为空",groups = {ValidateGroup.ReqGroup.SAVE.class, ValidateGroup.ReqGroup.UPDATE.class})
    private Long upLevelUserId;
    /**
     * 头像
     */
    private String headImageUrl;

    private String shortName;
    private String contactPhone;
    private String contactMan;
    private String pInLaw;
    private String licNo;
}